github.com/gotd/td/internal/mtproto.Conn.session (method)

6 uses

	github.com/gotd/td/internal/mtproto (current package)
		connect.go#L30: 	session := c.session()
		handle_session_created.go#L36: 	if err := c.handler.OnSession(c.session()); err != nil {
		new_encrypted_msg.go#L13: 	s := c.session()
		read.go#L53: 	session := c.session()
		read.go#L115: 	if c.session().ID == 0 {
		session.go#L13: func (c *Conn) session() Session {